<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/page/share/taglib.jsp" %>
<%@ taglib prefix="sd" uri="/struts-dojo-tags" %>   
<html>
<head>
<title>添加医生</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/css/vip.css" type="text/css">
<script language=JavaScript src="/js/FoshanRen.js"></script>
<script language=JavaScript src="/js/wpCalendar.js" ></script>
<script language="JavaScript">
function checkfm(form){
	if (trim(form.name.value)==""){
		alert("类别名称不能为空！");
		form.name.focus();
		return false;
	}
	return true;
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<s:form action="doctormanageaction" method="POST" enctype="multipart/form-data">
<br>
  <table width="90%" border="0" cellspacing="2" cellpadding="3" align="center">
    <tr bgcolor="6f8ac4"><td colspan="2"> <font color="#FFFFFF">添加医生：</font></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">医生名称：</div></td>
      <td width="78%"> <s:textfield name="doctor_Name" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">医生编号：</div></td>
      <td width="78%"> <s:textfield name="doctor_Id" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
	<tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">密码：</div></td>
      <td width="78%"> <s:password name="userPassword" size="20" maxlength="30"></s:password>
        </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">性别：</div></td>
      <td width="78%"> <s:select list="{'男','女'}"  headerKey="0" headerValue="--请选择性别--" name="doctor_Sex"></s:select>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">出生日期：</div></td>
      <td width="78%"> 	<s:textfield name="doctor_Birthday" size="10" maxlength="30" onfocus="showCalendar(this)"></s:textfield>
      <!--  <input type="text" id="text1" onfocus="showCalendar(this)" > --> 
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">手机号码：</div></td>
      <td width="78%"> <s:textfield name="doctor_MobilePhone" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">家庭电话：</div></td>
      <td width="78%"> <s:textfield name="doctor_Phone" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
     <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">家庭住址：</div></td>
      <td width="78%"> <s:textfield name="doctor_Address" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">家庭电话：</div></td>
      <td width="78%"> <s:textfield name="doctor_Phone" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">邮箱：</div></td>
      <td width="78%"> <s:textfield name="doctor_Email" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">身份证号码：</div></td>
      <td width="78%"> <s:textfield name="doctor_IdentityID" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">所属门诊：</div></td>
      <td width="78%"> <s:select list="maps" name="clinic_Id"></s:select>
        <font color="#FF0000">*</font>
      </td>
    </tr>
     <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">办公室：</div></td>
      <td width="78%"> <s:textfield name="doctor_Office" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">职称：</div></td>
      <td width="78%"> <s:textfield name="doctor_Position" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="22%" > <div align="right">备注：</div></td>
      <td width="78%"> <s:textfield name="doctor_Remark" size="20" maxlength="30"></s:textfield>
        <font color="#FF0000">*</font>
      </td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td colspan="2"> 
        <div align="center"> 
          <s:submit name="sure" value="确定" method="add"></s:submit>
        </div>
     </td>
    </tr>
  </table>
</s:form>
<br>
</body>
</html>